package cn.zyq.ykb.beans.task;

import cn.zyq.ykb.system.common.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 任务调价对象 taskPrice
 *
 * @author SystemAuth
 * @date 2023-11-28
 */
@Data
@Entity
@Table(name = "`taskPrice`")
public class TaskPrice  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`taskPriceID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer taskPriceID;
    /**
     * 任务ID
     */
    @Column(name = "`taskID`")
    @ApiModelProperty("任务ID")
    private Integer taskID;
    /**
     * 用户ID
     */
    @Column(name = "`userID`")
    @ApiModelProperty("用户ID")
    private Integer userID;
    /**
     * 团队长价格
     */
    @Column(name = "`temPrice`")
    @ApiModelProperty("团队长价格")
    private BigDecimal temPrice;
    /**
     * 用户价格
     */
    @Column(name = "`userPrice`")
    @ApiModelProperty("用户价格")
    private BigDecimal userPrice;
}
